#!/bin/bash
#
# use current working directory for input and output - defaults is 
# to use the users home directory
#$ -cwd
#
# name this job
#$ -N ic_shops
# send stdout and stderror to this file
#$ -o ic_shops.out
#$ -j y
#
# select queue - if needed 
#$ -q me,cos,nerhp,amd64-low
#$ -hard
#$ -l mem_free=8G
#$ -m e
#$ -M nadamuna@eecs.oregonstate.edu
dom=./rddl/inventory_control_combined_mdp.rddl
for shops in {11,12,13,14,15,16,17,18,19}
do
inst=./rddl/inventory_control_combined_inst_mdp_$shops\_6.rddl
echo "Solving $dom $inst"
#sh ./scripts/vi.sh $dom $inst 0.1 
#echo "solving $f using VI"
#sh ./scripts/vic.sh $dom $inst 0.1
#echo "solving $f using VIC"
#sh spi.sh $dom $inst 10 
#echo "solving $f using SPI 10"
#sh spi.sh $dom $inst 3 
#echo "solving $f using SPI 3"
#sh spi.sh $dom $inst 5 
#echo "solving $f using SPI 5"
#sh ./scripts/viCut.sh $dom $inst 0.1 0.002e5 
#echo "conditioning 0.002e5"
#sh ./scripts/viCut.sh  $dom $inst 0.1 1e5 
#echo "conditioning 1e5"
#sh ./scripts/viCut.sh  $dom $inst 0.1 0.1e5 
#echo "conditioning 0.1e5"
#sh ./scripts/viCut.sh  $dom $inst 0.1 5e5 
#echo "conditioning 5e5"
#sh ./scripts/maxD.sh $dom $inst 0.1
#echo " max decom"
sh ./scripts/viaadd.sh $dom $inst 0.1
echo "vi aadd"
sh ./scripts/vicaadd.sh $dom $inst 0.1
echo "vic aadd"
done


